/**
 * 
 */
package org.swing.utility.jdbc.imp;

import java.sql.Connection;

import org.swing.utility.jdbc.exception.PersistenceException;

/**
 * @author lqnhu
 *
 */
public interface Transaction {
	public Connection getConnection() throws PersistenceException;

	public void begin() throws PersistenceException;

	public void commit() throws PersistenceException;

	public void rollback() throws PersistenceException;
}
